package com.ynet.middleground.user.bean;

import com.ynet.core.common.BaseReqObj;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author Wangxz
 * @description 企业用户修改用户角色请求类
 * @date 2019-10-26
 */
@Data
@ApiModel(value = "企业用户修改用户角色请求对象", description = "企业用户修改用户角色请求对象")
public class UpdateEnterpriseUserRoleInfoReq extends BaseReqObj {

    private static final long serialVersionUID = 4808484458406116150L;
    /**
     * 角色id
     */
    @ApiModelProperty(value = "角色id", notes = "角色id", dataType = "Integer", required = true)
    @NotNull(message = "角色id不能为空！")
    private Integer roleId;

    /**
     * 角色名称
     */
    @ApiModelProperty(value = "角色名称", notes = "角色名称", dataType = "String")
    private String roleName;

    /**
     * 角色描述
     */
    @ApiModelProperty(value = "角色描述", notes = "角色描述", dataType = "String")
    private String roleDesc;

    /**
     * 级别码
     */
    @ApiModelProperty(value = "级别码共五级(1,2,3,4,5)", notes = "级别码共五级(1,2,3,4,5)", dataType = "Integer")
    private Integer levelCode;
}
